import { request } from "@/utils/request";

// 商品相关接口
export default {
	preview(data) {
		return request({
			url: '/mall/c/order/preview',
			method: 'POST',
			data
		})
	},
	add(data) {
		return request({
			url: '/mall/c/order/add',
			method: 'POST',
			data
		})
	},
	page(data) {
		return request({
			url: '/mall/c/order/page',
			method: 'GET',
			data
		})
	},
	repay(data) {
		return request({
			url: '/mall/c/order/repay',
			method: 'POST',
			data
		})
	},
}